package com.zhang.service;

import com.zhang.entity.ShoppingSysAdmin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhang.vo.AdminVo;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhangD
 * @since 2021-07-13
 */
@Service
public interface ShoppingSysAdminService extends IService<ShoppingSysAdmin> {

         void addAdmin(AdminVo adminVo,ShoppingSysAdmin shoppingSysAdmin);

         void updateAdmin(AdminVo adminVo);

         void updatePassword(String password,String oldPassword1,String oldPassword2);
}
